#ifndef BACKEND_H
#define BACKEND_H

#include <time.h>
#include <sys/time.h>
#include "types.h"

int register_triplet(user_t who,
		     key_t k1, key_t k2, key_t k3,
		     struct timeval *gap1, struct timeval *gap2);

void key_struck(key_t);

user_t whoisit(void);

#endif /* BACKEND_H */
